<template>
  <div>
    <h1>生命周期函数</h1>
    <div class="container">
      <h2>beforeCreate</h2>
    </div>
  </div>
</template>
<script>
export default {
  beforeCreate() {
    console.log("beforeCreate");
  }
};
</script>
<style>
.container {
  background-color: #f0f0f0;
  padding: 20px;
}
</style>
